function PT = result2PT(result,timerange)
%RESULT2PT 将定位结果转化为符合matlab接口格式的表格
%   此处显示详细说明
n = length(result);
epoch_vector = 1:n;
pos_lla = zeros(n,3);
for i = epoch_vector
    myresult = cell2mat(result(i));
    pos_lla(i,:) = ecef2lla(myresult(1:3));
    if pos_lla(i,3)<=0
        pos_lla(i,3) = 10;
    end
end
% Time = timerange(epoch_vector);
track_add = repmat(pos_lla(n-1,:), length(timerange)-(n), 1);
pos_lla = [pos_lla;track_add];
PT = table(timerange', pos_lla);
PT.Properties.VariableNames{2} = 'Lat-Lon-Alt';
PT.Properties.VariableNames{1} = 'Time';
end

